from apps.equipment_maintenance_plan.models import MaintenanceSchedule, MaintenanceScheduleContent, polish_line
from rest_framework import serializers


class MaintenanceScheduleSerializer(serializers.ModelSerializer):
    class Meta:
        model = MaintenanceSchedule
        fields = "__all__"


class MaintenanceScheduleContentSerializer(serializers.ModelSerializer):
    class Meta:
        model = MaintenanceScheduleContent
        fields = "__all__"

class PolishLineSerializer(serializers.ModelSerializer):
    class Meta:
        model = polish_line
        fields = "__all__"